package com.basic.hellorabbit.email;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
* @Description:    配置发送邮件
* @Author:         Joe
* @CreateDate:     2020/3/20 23:23
*/
@Data
@Component
public class EmailConfig {

    /**
     * 发件人
     */
    @Value("${spring.mail.username}")
    private String emailFrom;
}
